(regex_compile): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Tue, 28 Nov 2006 01:12:50 +0000 (01:12 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 28 Nov 2006 01:12:50 +0000 (01:12 +0000)
src/regex.c

index 7967a481ae9917d8f83fff144449bc2a308dd012..c107ef2428b52f6a07fc029267ec344414e969fe 100644 (file)
@@ -2939,7 +2939,7 @@ regex_compile (pattern, size, syntax, bufp)
                         for (ch = 0; ch < 1 << BYTEWIDTH; ++ch)
                          {
                            int translated = TRANSLATE (ch);
-                           if (translate < 1 << BYTEWIDTH
+                           if (translated < 1 << BYTEWIDTH
                                && re_iswctype (btowc (ch), cc))
                              SET_LIST_BIT (translated);
                          }